package Decorator_D01;

public abstract class Status implements HeroStatusBase {
    private HeroStatusBase hero;
    public Status(HeroStatusBase hero) {
        this.hero = hero;
    }

    public Status() {
    }

    public HeroStatusBase getHero() {
        return hero;
    }

    public void setHero(HeroStatusBase hero) {
        this.hero = hero;
    }

    @Override
    public int showStatus() {
        hero.showStatus();
        return 0;
    }
}
